package com.xuchen.zhenyang.service;

import com.xuchen.zhenyang.model.statistics.StatisticsDeliveryQueryModel;
import com.xuchen.zhenyang.model.statistics.StatisticsGoodsSaleModel;
import com.xuchen.zhenyang.model.statistics.StatisticsUserGoodsModel;
import com.xuchen.zhenyang.model.statistics.StatisticsUserGoodsQuery;

import java.math.BigDecimal;
import java.util.List;

public interface StatisticsService {
    List<StatisticsGoodsSaleModel> getMonthGoodsSale(Integer monthTime, Integer goodsType);

    void refreshGoodsSale();

    void refreshUserOrder();

    void refreshUserDebt();

    BigDecimal getSumDelivery(StatisticsDeliveryQueryModel queryModel);

    List<StatisticsUserGoodsModel> getUserGoods(StatisticsUserGoodsQuery queryModel);
}
